﻿#include "producttreeview.h"

ProductTreeView::ProductTreeView(QWidget *parent) : MyTreeView(parent)
{
    setCategoryType(Company::ProductCategory);

    connect(this, &QTreeView::clicked,
            [=](const QModelIndex)
    {
        emit queryProducts();
    });
}
